package com.yang.repository;

import com.yang.entity.People;

import java.util.List;

public interface PeopleRepository {
     int save(People people);

     int deleteById(Integer id);

     int update(People people);

     People findById(Integer id);

     List<People> findAll();
     public People findByName(String name);
     public People findByIdAndName(Integer id,String name);
     public int count();
     public String findNameById(Integer id);

     People selectId(People people);



}
